package com.ruoyi.project.system.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 医生排班实体（对应数据库表：temp_week_daily）
 */
public class DoctorRota extends BaseEntity {
    private Long id;
    private Date datetime;       // 排班时间（冗余字段）
    private String doctorId;     // 医生ID（关联医生表）
    private String doctorName;   // 医生姓名
    private String department;   // 所属科室
    private String title;        // 医生职称
    private String scheduleText; // 排班说明
    private Integer remaining;   // 剩余预约名额
    private Integer timeId;      // 时段ID（奇数=上午，偶数=下午）
    private Date currentDate_;    // 排班日期（核心字段：yyyy-MM-dd）

    // 手动实现getter/setter（无Lombok）
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public Date getDatetime() { return datetime; }
    public void setDatetime(Date datetime) { this.datetime = datetime; }
    public String getDoctorId() { return doctorId; }
    public void setDoctorId(String doctorId) { this.doctorId = doctorId; }
    public String getDoctorName() { return doctorName; }
    public void setDoctorName(String doctorName) { this.doctorName = doctorName; }
    public String getDepartment() { return department; }
    public void setDepartment(String department) { this.department = department; }
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
    public String getScheduleText() { return scheduleText; }
    public void setScheduleText(String scheduleText) { this.scheduleText = scheduleText; }
    public Integer getRemaining() { return remaining; }
    public void setRemaining(Integer remaining) { this.remaining = remaining; }
    public Integer getTimeId() { return timeId; }
    public void setTimeId(Integer timeId) { this.timeId = timeId; }
    public Date getCurrentDate() { return currentDate_; }
    public void setCurrentDate(Date currentDate_) { this.currentDate_ = currentDate_; }
}